package com.zhongkai.model.config;

/**
 * Menu entity. @author MyEclipse Persistence Tools
 */

@SuppressWarnings("serial")
public class Menu implements java.io.Serializable {

	// Fields

	private Integer menuId;
	private String menuName;
	private Integer menuParent;
	private Integer menuLevel;
	private Integer menuSort;
	private String menuUrl;
	private String actionKey;

	// Constructors

	/** default constructor */
	public Menu() {
	}

	/** minimal constructor */
	public Menu(String menuName, Integer menuParent, Integer menuLevel,
			Integer menuSort) {
		this.menuName = menuName;
		this.menuParent = menuParent;
		this.menuLevel = menuLevel;
		this.menuSort = menuSort;
	}

	/** full constructor */
	public Menu(String menuName, Integer menuParent, Integer menuLevel,
			Integer menuSort, String menuUrl, String actionKey) {
		this.menuName = menuName;
		this.menuParent = menuParent;
		this.menuLevel = menuLevel;
		this.menuSort = menuSort;
		this.menuUrl = menuUrl;
		this.actionKey = actionKey;
	}

	// Property accessors

	public Integer getMenuId() {
		return this.menuId;
	}

	public void setMenuId(Integer menuId) {
		this.menuId = menuId;
	}

	public String getMenuName() {
		return this.menuName;
	}

	public void setMenuName(String menuName) {
		this.menuName = menuName;
	}

	public Integer getMenuParent() {
		return this.menuParent;
	}

	public void setMenuParent(Integer menuParent) {
		this.menuParent = menuParent;
	}

	public Integer getMenuLevel() {
		return this.menuLevel;
	}

	public void setMenuLevel(Integer menuLevel) {
		this.menuLevel = menuLevel;
	}

	public Integer getMenuSort() {
		return this.menuSort;
	}

	public void setMenuSort(Integer menuSort) {
		this.menuSort = menuSort;
	}

	public String getMenuUrl() {
		return this.menuUrl;
	}

	public void setMenuUrl(String menuUrl) {
		this.menuUrl = menuUrl;
	}

	public String getActionKey() {
		return this.actionKey;
	}

	public void setActionKey(String actionKey) {
		this.actionKey = actionKey;
	}

}